﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MasterPagePrivate.master" AutoEventWireup="true" CodeFile="PropertyForRentList.aspx.cs" Inherits="Pages_Private_PropertyForRentList" %>
<%@ Register Src="~/UserControls/DataTableList.ascx" TagName="DataTableList" TagPrefix="UC" %>
<%@ Register Src="~/UserControls/Pager.ascx" TagName="Pager" TagPrefix="UC" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageHeader" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PageBody" Runat="Server">
    <h4 id="h4Heading" runat="server">Property for Rent List</h4>    
    <div id="divMessage" runat="server" visible="false" enableviewstate="false"></div>    
    <div class="clearboth"></div>
    
    <div>
        <a href="/Pages/Private/PropertyForRentChange.aspx">Add Property for Rent</a>
    </div>
    
    <div class="ListingContainer">
        <UC:DataTableList id="ucRentList" runat="server"
            VisibleFields=""
            ExcludeVisibleFields="ID, TotalRecord, RowNumber, RentTypeID, RentStatusID, CompanyName, ThumbImage, LargeImage, Country, NoOfBeds, ServiceCharge, Size" 
            LinkFields="ID" CheckForDeletePermission="False">
        </UC:DataTableList>

        <div style="margin-top:10px;">
            <UC:Pager ID="ucRentListPager" runat="server" OnPageIndexChanged="ucRentListPager_PageIndexChanged" />
        </div>
    </div>
    
</asp:Content>

